package com.hnx.admin.aurora.system.service;

import com.hnx.admin.aurora.system.domain.param.dept.form.DeptForm;
import com.hnx.admin.aurora.system.domain.param.dept.query.DeptQuery;
import com.hnx.admin.aurora.web.json.ResultJson;
import com.hnx.admin.aurora.web.json.TreeNodeVO;

import java.util.List;

public interface DeptService {
    List<TreeNodeVO> selectDeptList(DeptQuery dept);

    ResultJson selectDeptTreeList(String roleId);
    List<String> selectDeptListByRoleId(String roleId);

    ResultJson selectList(DeptQuery dept);

    ResultJson insertDept(DeptForm dept);

    ResultJson selectDeptById(String deptId);

    ResultJson deleteDeptById(String deptId);

    ResultJson updateDept(DeptForm dept);
}
